package com.example.coursemanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.coursemanagement.MyUtils.CommonResult;
import com.example.coursemanagement.pojo.Campus;
import com.example.coursemanagement.pojo.Campus_comments;

/**
 * <p>
 * 这是目录表格，通过这个查寻课程的各个章节链接 服务类
 * </p>
 *
 * @author chenlitao
 * @since 2022-10-27
 */
public interface ICampusCommentsService extends IService<Campus_comments> {

    CommonResult<Object> publishComments(Campus_comments campus_comments);

    CommonResult<Object> updateComments(Campus_comments campus_comments);

    CommonResult<Object> deleteCommentsById(Integer commentId);

    CommonResult<Object> selectCommentsByUserId(Integer userId);

    CommonResult<Object> selectCommentsByCampusId(Integer campusId);
}
